<%@ page language="java"  pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发邮件</title>
<%@include file="../common/jscss.jsp" %>
</head>

<body>
	<!-- head -->
	<%@include file="../common/header.jsp" %>
    <!-- head--end -->
   <div class="content">
    	<div class="body_wrap clearfix">
            <div class="com_left">
            	<div class="com_pd_s1">
                	<div class="box_s2">
                    	<div class="title"><img src="images/other/icon_10.jpg" /><span>读邮件</span></div>
                        <div class="content">
                        	<table class="form_info">
                            	<tbody>
                            	<tr>
                                	<td colspan="2"><div class=" mail_ope"><input type="button" class="def_btn_s1" value="回复" onclick="window.location.href='mail!reply.do?messageId=<s:property value="message.id" />'" /><input type="button" class="def_btn_s1" value="回复全部" onclick="window.location.href='mail!replyAll.do?messageId=<s:property value="message.id" />'" /><input type="button" class="def_btn_s1" value="转发" onclick="window.location.href='mail!forward.do?messageId=<s:property value="message.id"/>'" /></div></td>
                                </tr>
                            	<tr>
                                	<td width="87" class="col1">发件人：</td>
                                    <td><input type="text" id="rmember" name="message.rmember" class="def_txt_s1" value="<s:property value="message.susername"/>"/></td>
                                </tr>
                                <tr>
                                	<td width="87" class="col1">标题：</td>
                                    <td><input type="text" name="message.title" id="title" class="def_txt_s1" value="<s:property value="message.title"/>"/></td>
                                </tr>
                                <tr>
                                	<td width="87" class="col1 vt">内容：</td>
                                    <td>
                                    	<textarea class="def_ta" id="content" name="message.content"><s:property value="message.content"/></textarea>
                                        <div class="operate">
                                        	<input type="button" value="关闭" class="def_btn_s1" onclick="closemail();"/>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                	<td></td>
                                	<td >
                                    	<ul class="attach_list" id="attach_list">
	                                      <s:iterator id="attach" value="message.attachList" status="status">
                                    		<li><a href="<s:property value="#request.basePath"/><s:property value="path"/>"  target="_blank"><s:property value="name"/></a></li>
	                                	</s:iterator>
                            			</ul>
                                    </td>
                                </tr>
                            </tbody></table>
                        </div>
                    </div>
                    
                </div>
            </div>
            
            <!-- right -->
           <%@include file="right.jsp"%>
            <!--right--end-->
            <div class="clear"></div>
        </div>
    </div>
    <!-- body -->
    <script type="text/javascript">
    	function closemail(){
    		window.location.href = "mail!receivebox.do";
    	}
    </script>
</body>
</html>
